/*****************************************************************************
 * Copyright (C) Stacy Curl. All rights reserved.                            *
 * ------------------------------------------------------------------------- *
 * The software in this package is published under the terms of the BSD      *
 * style license a copy of which has been included with this distribution in *
 * the LICENSE.txt file.                                                     *
 *****************************************************************************/
package picounit.features.classloader.mutator;


public class Method {
	private final Access access;
	private final String className;
	private final String methodName;
	
	public Method(int access, String className, String methodName) {
		this.access = new Access(access);
		this.className = className;
		this.methodName = methodName;
	}
	
	public Access access() {
		return access;
	}

	public String className() {
		return className;
	}

	public String methodName() {
		return methodName;
	}

	public boolean isPublic() {
		return access.isPublic();
	}

	public boolean isStatic() {
		return access.isStatic();
	}
}